home *** CD-ROM | disk | FTP | other *** search
/ Sky at Night 2007 June / SAN CD 6-2007 CD-ROM 25.iso / pc / Software / AstroGrav_Win / Java / jre1.6.0 / lib / rt.jar / sun / font / FileFont$FileFontDisposer.class (.txt) < prev    next >
Encoding:
Java Class File  |  2006-11-29  |  426 b   |  22 lines

  1. package sun.font;
  2.  
  3. import sun.java2d.DisposerRecord;
  4.  
  5. public class FileFont$FileFontDisposer implements DisposerRecord {
  6.    long pScaler = 0L;
  7.    boolean disposed = false;
  8.  
  9.    public FileFont$FileFontDisposer(long var1) {
  10.       this.pScaler = var1;
  11.    }
  12.  
  13.    public synchronized void dispose() {
  14.       if (!this.disposed) {
  15.          FileFont.freeScaler(this.pScaler);
  16.          this.pScaler = 0L;
  17.          this.disposed = true;
  18.       }
  19.  
  20.    }
  21. }
  22.